﻿using BridgeWeChat.Model;
using System;
using System.Collections.Generic;
using System.Text;
using static BridgeWeChat.Constant.ComEnum;

namespace WeChatCommon.MP.TemplateMessage
{
    public class TemplateMessageFactory
    {
        public static AbstractTemplateMessageProcess CreateTemplateMessageProcess(WeChatTemplateMessageRequest requestParam)
        {
            AbstractTemplateMessageProcess messageProcess = null;
            //switch (requestParam.MessageType)
            //{
            //    case (int)模板消息类型.关注消息 :
            //        messageProcess = new SubscribeTemplateMessageProcess(requestParam);
            //        break;
            //    case (int)模板消息类型.扫码消息:
            //        break;
            //    case (int)模板消息类型.证照到期提醒:
            //        messageProcess = new SubscribeTemplateMessageProcess(requestParam);
            //        break;
            //    default:
            //        break;
            //}
            
            return messageProcess;
        }
    }
}
